package p270jp.pxv.android.viewholder;

import android.view.View;
import android.widget.ImageView;
import p140eo.C2973b;
import p270jp.pxv.android.R;
import p270jp.pxv.android.legacy.model.IllustItem;
import p368ng.AbstractC5190t2;
import p677zi.PixivImageLoader;

/* renamed from: jp.pxv.android.viewholder.IllustNoInfoItemViewHolder */
/* loaded from: classes2.dex */
public class IllustNoInfoItemViewHolder extends BaseViewHolder {
    private final ImageView illustGridImageView;
    private final PixivImageLoader pixivImageLoader;

    public IllustNoInfoItemViewHolder(View view) {
        super(view);
        this.illustGridImageView = (ImageView) view.findViewById(R.id.illust_grid_image_view);
        this.pixivImageLoader = ((AbstractC5190t2) C2973b.m6512b(view.getContext(), AbstractC5190t2.class)).mo3376k();
    }

    public static int getLayoutRes() {
        return R.layout.view_illust_no_info_item;
    }

    @Override // p270jp.pxv.android.viewholder.BaseViewHolder
    public void bind(Object obj) {
        super.bind(obj);
        if (obj instanceof IllustItem) {
            this.pixivImageLoader.m57i(this.illustGridImageView.getContext(), ((IllustItem) obj).getTarget().imageUrls.getSquareMedium(), this.illustGridImageView);
        }
    }
}
